package com.zxjbyte.yiyi.module.system.service;

import com.zxjbyte.yiyi.framework.common.domain.api.PageResult;
import com.zxjbyte.yiyi.framework.mybatis.service.BaseServiceX;
import com.zxjbyte.yiyi.module.system.domain.entity.DictPO;
import com.zxjbyte.yiyi.module.system.domain.param.dict.DictAddParam;
import com.zxjbyte.yiyi.module.system.domain.param.dict.DictListParam;
import com.zxjbyte.yiyi.module.system.domain.param.dict.DictUpdateParam;
import com.zxjbyte.yiyi.module.system.domain.vo.DictListVO;
import com.zxjbyte.yiyi.module.system.domain.vo.DictVO;

import java.util.List;

/**
 * @Author zhangxingjia
 * @Date 2024/1/24 16:17
 * @Version: 1.0
 */
public interface DictService extends BaseServiceX<DictPO> {

    PageResult<DictListVO> list(DictListParam param);

    DictVO detail(Long id);

    void add(DictAddParam param);

    void update(DictUpdateParam request);

    List<DictPO> getByType(String type);

}
